package bstsetcode.homework;

import bstsetcode.ArrayGenerator;



/**
 * @author noob
 * @version 1.0
 * @date 2021/3/13 22:12
 */
public class InsertionSortTest01 {
    public static void main(String[] args) {

//        Integer[] data2 = {6,4,2,3,2,1,5,5,};
        Integer[] data2 = {6,4,2,3};
        InsertionSort01.sort(data2);
        for(int e:data2){
            System.out.print(e + " ");
        }
        System.out.println();

        int[] dataSize={10000,100000};
        for(int n : dataSize) {
            Integer[] arr = ArrayGenerator.generateRandomArray(n, n);
            SortHelper01.sortTest("InsertionSort01",arr );
        }
    }
}
